package org.jeecg.modules.demo.dwxx.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.demo.dwxx.entity.SysDwxx;
import org.jeecg.modules.demo.dwxx.mapper.SysDwxxMapper;
import org.jeecg.modules.demo.dwxx.service.ISysDwxxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: sys_dwxx
 * @Author: jeecg-boot
 * @Date:   2023-10-26
 * @Version: V1.0
 */
@Service
public class SysDwxxServiceImpl extends ServiceImpl<SysDwxxMapper, SysDwxx> implements ISysDwxxService {
    @Autowired
    private SysDwxxMapper SysDwxxMapper;
    @Override
    public Page<SysDwxx> getxxByDw(Page<SysDwxx>page , String dwname,String category,String exeDepartId) {
      return  page.setRecords(SysDwxxMapper.getxxByDw(page,dwname,category));
    }
}
